﻿// =================================================================== 
// 项目说明
//====================================================================
// liucx @Copy Right 2019
// 文件： GroupCommentEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/10/12
// 负责人：liucx
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    ///群空间内容数据实体  
    /// </summary>
    [PrimaryKey("GroupCommentID")]
    public class GroupComment
    {
        ///<summary>
        ///群空间内容
        ///</summary>
        public GroupComment()
        {
        }


        ///<summary>
        ///主键
        ///</summary>
        [Column("GroupCommentID", "主键")]
        public int GroupCommentID { get; set; }

        ///<summary>
        ///名称
        ///</summary>
        [Column("CommentName", "名称")]
        public string CommentName { get; set; }

        ///<summary>
        ///简介
        ///</summary>
        [Column("CommentDesc", "简介")]
        public string CommentDesc { get; set; }

        ///<summary>
        ///简图
        ///</summary>
        [Column("HeadImgUrl", "简图")]
        public string HeadImgUrl { get; set; }

        ///<summary>
        ///用户ID
        ///</summary>
        [Column("UserID", "用户ID")]
        public int UserID { get; set; }

        ///<summary>
        ///OpenID
        ///</summary>
        [Column("OpenID", "OpenID")]
        public string OpenID { get; set; }

        ///<summary>
        ///公司ID
        ///</summary>
        [Column("CompanyID", "公司ID")]
        public int CompanyID { get; set; }

        ///<summary>
        ///是否可见（0：否，1：是) 可能是草稿，暂不发布
        ///</summary>
        [Column("IsShow", "是否可见（0：否，1：是) 可能是草稿，暂不发布")]
        public int IsShow { get; set; }

        ///<summary>
        ///来源产品
        ///</summary>
        [Column("SourceID", "来源产品")]
        public int SourceID { get; set; }

        ///<summary>
        ///创建时间
        ///</summary>
        [Column("CreateDate", "创建时间")]
        public DateTime CreateDate { get; set; }

        ///<summary>
        ///更新时间
        ///</summary>
        [Column("UpdateDate", "更新时间")]
        public DateTime UpdateDate { get; set; }

        ///<summary>
        ///文章链接(类别为3时有效)
        ///</summary>
        [Column("CommentLink", "文章链接(类别为3时有效)")]
        public string CommentLink { get; set; }

        ///<summary>
        ///逻辑标识(1：可用 0：禁用)
        ///</summary>
        [Column("IsActvie", "逻辑标识(1：可用 0：禁用)")]
        public int IsActvie { get; set; }

        ///<summary>
        ///文章所属板块（1：随笔 2：游记 3.求助 4心情）
        ///</summary>
        [Column("CommentSection", "文章所属板块（1：随笔 2：游记 3.求助 4心情）")]
        public int CommentSection { get; set; }

        ///<summary>
        ///点赞数
        ///</summary>
        [Column("PraiseCount", "点赞数")]
        public int PraiseCount { get; set; }

        ///<summary>
        ///浏览量
        ///</summary>
        [Column("PageViews", "浏览量")]
        public int PageViews { get; set; }

        ///<summary>
        ///标签
        ///</summary>
        [Column("CommentTag", "标签")]
        public int CommentTag { get; set; }

        ///<summary>
        ///是否热门(0:否 1：是)
        ///</summary>
        [Column("IsHot", "是否热门(0:否 1：是)")]
        public int IsHot { get; set; }
        /// <summary>
        /// 所属群组ID
        /// </summary>
        [Column("CarGroupID", "所属群组ID")]
        public int CarGroupID { get; set; }

        /// <summary>
        /// 评论数量
        /// </summary>
        [Column("EvaluateCount", "评论数量")]
        public int EvaluateCount { get; set; }

    }
}